package light.head.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.IdClass;
import javax.persistence.Table;

@Entity
@Table
@IdClass(RoleMainPK.class)
public class RoleMain implements Serializable {

	private static final long serialVersionUID = -8328865157165704253L;
	
	
	private Integer rc;						// 角色编号
	private Short tc;						// 该角色登陆后的默认现实界面的模板编号，模板在freemarker中创建

	@Id
	@Column
	public Integer getRc() {
		return rc;
	}
	@Id
	@Column
	public Short getTc() {
		return tc;
	}
	
	
	
	
	public void setRc(Integer rc) {
		this.rc = rc;
	}
	public void setTc(Short tc) {
		this.tc = tc;
	}
}
